package cate.common.table.activity.luckystar.sheet;

import cate.common.table.ESheet;
import cate.common.table.activity.luckystar.row.LuckyStarActivityRow;

public class LuckyStarActivitySheet extends ESheet<LuckyStarActivityRow> {
    @Override
    public String getSheetName() {
        return "无敌幸运星奖励";
    }

    public LuckyStarActivityRow getReward(int group, int type) {
        for (LuckyStarActivityRow row : this.getList()) {
            if (row.group == group && row.type == type) {
                return row;
            }
        }
        return null;
    }
}
